package com.zz.dubbo.example.commons;


import lombok.Getter;

/**
 * Created by zhouzeng on 2017/8/25.
 */
public class DubboException extends RuntimeException {
    @Getter
    String error;

    public DubboException(){
        super();
    }
    public DubboException(String error) {
        super(error);
        this.error = error;
    }

    public DubboException(Exception e) {
        super(e);
    }
    public DubboException(String error ,Exception e){
        super(error,e);
    }
}
